<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增试卷目录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-folder-add">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">试卷ID：</label>
                    <div class="col-sm-8">
                        <input name="paperId" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">单选题数量：</label>
                    <div class="col-sm-8">
                        <input name="radioNum" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">单选题每道题分数：</label>
                    <div class="col-sm-8">
                        <input name="radioOneScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">单选题总分：</label>
                    <div class="col-sm-8">
                        <input name="radioTypeScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">多选题数量：</label>
                    <div class="col-sm-8">
                        <input name="checkboxNum" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">多选题每道题分数：</label>
                    <div class="col-sm-8">
                        <input name="checkboxOneScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">多选题总分：</label>
                    <div class="col-sm-8">
                        <input name="checkboxTypeScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">不定项题数量：</label>
                    <div class="col-sm-8">
                        <input name="indefiniteNum" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">不定项题每道题分数：</label>
                    <div class="col-sm-8">
                        <input name="indefiniteOneScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">不定项题总分：</label>
                    <div class="col-sm-8">
                        <input name="indefiniteTypeScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">主观题题数量：</label>
                    <div class="col-sm-8">
                        <input name="subjectiveNum" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">主观题每道题分数：</label>
                    <div class="col-sm-8">
                        <input name="subjectiveOneScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">主观题题总分：</label>
                    <div class="col-sm-8">
                        <input name="subjectiveTypeScore" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "jxsx/folder"
        $("#form-folder-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-folder-add').serialize());
            }
        }
    </script>
</body>
</html>